import { Message } from 'element-ui'
class ErrorInfo {
  show (error) {
    Message.error(error.response.statusText + ':' + error.response.status)
  }
}
export const errorInfo = new ErrorInfo()
